package org.xptrac.events {
    import flash.events.Event;
    /**  
    * Custom Event class adds Membership and user properties to a basic Event
    */
    public class MembershipEvent extends Event {
    	/** 
    	 * membership event type for create action
    	 */
        public static const MEMBERSHIP_CREATE:String = "membershipCreate";
        /**
        * membership affected
        */
        public var membership:XML;
		/**         
        * @param type the type of event (membershipEvent.MEMBERSHIP_CREATE etc)
        * @param membership the membership affected
 		*/        
 		public function MembershipEvent(task:String, membership:XML) {
            super(task);
            this.membership = membership
        }
    }
}
